package com.zmn.oms.model.bo.orderamount;

import com.zmn.oms.common.constant.TriggerAmountChangeEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 类描述：优惠计算结果
 * @author heciqi
 * @date 2020-06-03 14:08:02
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class OrderAmountCalcBO implements Serializable {
    /**
     * 触发金额变更类型
     */
    TriggerAmountChangeEnum triggerAmountChangeEnum;

    /**
     * 原价
     */
    private Integer originalAmount;

    /**
     * 应收
     */
    private Integer totalAmount;

    /**
     * 啄木鸟预收
     */
    private Integer prepayAmount;

    /**
     * 渠道预收
     */
    private Integer channelPrepayAmount;

    /**
     * 定金
     */
    private Integer depositAmount;

    /**
     * 师傅收款
     */
    private Integer masterAmount;

    /**
     * 只收上门费标志（1：否，2：是）
     */
    private Integer onlyVisit;

    /**
     * 优惠金额
     */
    private Integer discountAmount;

    /**
     * 优惠预付金额
     */
    private Integer discountPrepayAmount;

    /**
     * 优惠预付金额
     */
    private Integer payDiscountAmount;

    /**
     * 优惠信息
     */
    private OrderDiscountCalcBO orderDiscountCalcBO;

    /**
     * 全款标识
     */
    private Integer fullPaymentFlag;

}
